# To change this template, choose Tools | Templates and open the template in the
# editor.

class RawClassifierStrings
  @@raw_classifier_strings = []

  def self.num_of_raw_classifier_strings
    return @@raw_classifier_strings.size
  end

  def self.raw_classifier_strings
    return @@raw_classifier_strings
  end

	def self.set_raw_classifier_strings()
    @@raw_classifier_strings = Array.new()
    
=begin (because very slow)
		# functions.MultilayerPerceptron
		l_a = [ 0.1, 0.3, 0.5, 0.7, 0.9 ] # -L
		l_b = [ 0.1, 0.2, 0.4, 0.6, 0.9 ] # -M
    # weka.classifiers.functions.MultilayerPerceptron -L 0.3 -M 0.2 -N 500 -V 0
    # -S 0 -E 20 -H a
		for a in l_a do
			for b in l_b do
				str = "weka.classifiers.functions.MultilayerPerceptron -L #{a} -M #{b} -N 500 -V 0 -S 0 -E 20 -H a"
				@@raw_classifier_strings << str
			end
		end
=end




    # weka.classifiers.functions.SMO -C 1.0 -L 0.0010 -P 1.0E-12 -N 0 -V -1 -W 1 -K "weka.classifiers.functions.supportVector.PolyKernel -C 250007 -E 1.0"
		l_a = [ 0.005, 0.01, 0.1, 0.5, 1, 2 ] # -C
		for a in l_a do
			str = "weka.classifiers.functions.SMO -C #{a} -L 0.0010 -P 1.0E-12 -N 0 -V -1 -W 1 -K \"weka.classifiers.functions.supportVector.PolyKernel -C 250007 -E 1.0\""
			@@raw_classifier_strings << str
		end



    # weka.classifiers.lazy.IBk -K 1 -W 0 -A "weka.core.neighboursearch.LinearNNSearch -A \"weka.core.EuclideanDistance -R first-last\""
		l_a = [ 1, 2, 3, 4, 5, 7, 10, 30, 50 ] # -K
		for a in l_a do
			str = "weka.classifiers.lazy.IBk -K #{a} -W 0 -A \"weka.core.neighboursearch.LinearNNSearch -A \\\"weka.core.EuclideanDistance -R first-last\\\"\""
			@@raw_classifier_strings << str
		end




		# weka.classifiers.rules.JRip -F 3 -N 2.0 -O 2 -S 1
		l_a = [ 2.0, 3.0, 20.0, 25.0, 50.0 ] # -N
		for a in l_a do
      str = "weka.classifiers.rules.JRip -F 3 -N #{a} -O 2 -S 1"
      @@raw_classifier_strings << str
		end



		# weka.classifiers.trees.J48 -C 0.25 -M 2
		l_a = [ 0.01, 0.10, 0.25, 0.5 ] # -C
		l_b = [ 1, 2, 10 ] # -M
		for a in l_a do
			for b in l_b do
				str = "weka.classifiers.trees.J48 -C #{a} -M #{b}"
				@@raw_classifier_strings << str
			end
		end

    
=begin
    # weka.classifiers.functions.Logistic -R 1.0E-8 -M -1
		l_a = [ 1, 1.0E-1, 1.0E-2, 1.0E-4, 1.0E-6, 1.0E-8 ] # -R
		for a in l_a do
      str = "weka.classifiers.functions.Logistic -R #{a} -M -1"
      @@raw_classifier_strings << str
		end
=end
	end
end
